package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcCsunCameraWebRtc;
import com.csun.cmny.provider.model.domain.DmcWebRtcClient;
import com.csun.cmny.provider.model.dto.webrtc.WebRtcClientQueryDto;
import com.csun.cmny.provider.model.vo.webrtc.WebRtcClientVo;

import java.util.List;

public interface DmcWebRtcClientService extends IService<DmcWebRtcClient> {

    /**
     * 查询设备编号
     *
     * @param webRtcClientQueryDto
     *
     * @return
     */
    List<WebRtcClientVo> queryListWithPage(WebRtcClientQueryDto webRtcClientQueryDto);

    /**
     * 保存
     *
     * @param dmcWebRtcClient
     *
     * @return
     */
    Integer save(DmcWebRtcClient dmcWebRtcClient, LoginAuthDto loginAuthDto);

    /**
     * 根据Id删除
     *
     * @param id
     *
     * @return
     */
    Integer deleteById(Long id);

    /**
     * 绑定
     *
     * @param dmcCsunCameraWebRtc
     *
     * @return
     */
    Integer bind(DmcCsunCameraWebRtc dmcCsunCameraWebRtc);

    /**
     * 解绑
     *
     * @param dmcCsunCameraWebRtc
     *
     * @return
     */
    Integer untied(DmcCsunCameraWebRtc dmcCsunCameraWebRtc);
}
